package com.dongdongshop.service;

import com.dongdongshop.pojo.TbGoods;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.pojo.TbItem;

import java.util.List;

public interface TbGoodsService {
    Boolean insertTbGoodsAndDesc(TbGoods tbGoods, TbGoodsDesc tbGoodsDesc, List<TbItem> tbItems,TbItem tbItem, String sellerId,List<TbItem> tbItems2);

    Boolean deleteGoods(Long[] ids);

    Boolean statusUpdate(Long[] ids);

    Boolean statusUpdateyes(Long[] ids);

    Boolean statusUpdateno(Long[] ids);

    TbGoods selectGoodsById(Long goodsid);
}
